//
// File  : Model.cpp
// Team  : Dangling Pointers
// Class : CST 236 - Software Testing
// 
// Model class definitions
//

#include "Model.h"


// constructor
Model::Model() : m_flightDatabase(new FlightDatabase())
	, m_customerDatabase(new CustomerDatabase())
{}

// destructor
Model::~Model()
{
	delete m_flightDatabase;
	delete m_customerDatabase;
}

//
// Accessors
//
FlightDatabase* Model::getFlightDatabase() const
{
	return m_flightDatabase;
}

CustomerDatabase* Model::getCustomerDatabase() const
{
	return m_customerDatabase;
}
